package pt.record.model;

import model.Model;
import pt.record.view.dialogs.DirectMatchesDialog;

import java.io.IOException;

/**
 * Created by nuno-rafael-figueiredo on 15-03-2014.
 */
public final class Record extends Model {
    public static final String URL = "http://www.record.xl.pt/";
    public static final Record INSTANCE = new Record();

    public static final Matches MATCHES = new Matches();
    public static final Teams TEAMS = new Teams();

    public static final DirectMatches DIRECT_MATCHES = new DirectMatches();

    private Record() {
        super(TEAMS, MATCHES);
    }

    public static void main(String... args) throws IOException {
        new DirectMatchesDialog().setVisible(true);
    }
}
